import Router from 'koa-router'
import LoginController from '@/api/LoginController'

const router = new Router({
  prefix: '/login'
})

router.post('/forget', LoginController.forget)
router.post('/', LoginController.login)
router.post('/reg', LoginController.reg)
// 更改密码
router.post('/reset-pass', LoginController.updatePass)
export default router
